﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.Collections.Generic;

namespace FutureApp.Shop.Dto
{
    /// <summary>
    /// 商品DTO
    /// </summary>
    public class GoodsEntityDto : EntityDto<Guid>
    {
        /// <summary>
        /// 商品特征属性分配值
        /// </summary>
        public ICollection<GoodsAttributeDistributionEntityDto> AttributeDistribution { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 促销价
        /// </summary>
        public decimal SalePrice { get; set; }

        /// <summary>
        /// 最低价
        /// </summary>
        public decimal BottomPrice { get; set; }

        /// <summary>
        /// 库存数量
        /// </summary>
        public int Quantity { get; set; }
    }
}
